const express = require('express');
const app = express();

app.get(
  '/test1',
  (req, res, next) => {
    console.log('func1');
  },
  (req, res) => {
    console.log('func2');
    res.send('test1');
  }
);

app.listen(3000, () => {
  console.log('server start');
});
